home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPolygonVertices.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  763b  |  32 lines

  1. /*
  2.  *--- PGetPolygonVertices.cpp ---------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPolygonVertices.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPolygonVertices.h"
  12. #include "PReplyBuf.h"
  13.  
  14.  
  15. PGetPolygonVertices::PGetPolygonVertices()
  16. : PListQuery(pm_getpolygonvertices)
  17. {
  18.     Scan();
  19. }
  20.  
  21. void PGetPolygonVertices::Scan()
  22. {
  23.     PReplyBuf reply(listMom.Current());
  24.     
  25.     reply    >> xLocation
  26.             >> yLocation;
  27.     
  28.     listMom.Update(reply);
  29. }
  30.  
  31. // end of PGetPolygonVertices.cpp
  32.